package com.joysuch.wwyt.risk.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "方法配置")
public class RiskEvaluationAnalyzeWayBean implements Serializable {

    @ApiModelProperty("方法id")
    private Long id;

    @ApiModelProperty("方法名称")
    private String name;

    @ApiModelProperty("简称")
    private String code;

    @ApiModelProperty("方法类型:0分析方法,1评估方法")
    private Integer analyzeType;

//    @ApiModelProperty("重大风险(评估独有)")
//    private Double majorRisk;

    @ApiModelProperty("较大风险(评估独有)")
    private Double higherRisk;

    @ApiModelProperty("一般风险(评估独有)")
    private Double generalRisk;

    @ApiModelProperty("低风险(评估独有)")
    private Double lowRisk;

    @ApiModelProperty("分析方法关联的评估方法id")
    private Long evaluationId;

    @ApiModelProperty("分析方法关联的评估方法名称")
    private String evaluationName;

    @ApiModelProperty("配置项")
    private List<RiskEvaluationAnalyzeMethodBean> methodBeanList;
}
